﻿<!--
/*
 * This file is part of SCWS.
 * SCWS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 * 
 * Foobar is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with SCWS.  If not, see <http://www.gnu.org/licenses/>.
 */
 -->

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MaintenanceModeResults" targetNamespace="http://www.hardac.co.uk/webservices/scws/MaintenanceModeResults.xsd" xmlns:mstns="http://www.hardac.co.uk/webservices/scws/MaintenanceModeResults.xsd" xmlns="http://www.hardac.co.uk/webservices/scws/MaintenanceModeResults.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="MaintenanceModeResults" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="MaintenanceModeResults">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MonitoringObjectDisplayName" msprop:nullValue="_null" type="xs:string" minOccurs="0" />
              <xs:element name="MonitoringObjectID" minOccurs="0">
                <xs:simpleType>
                  <xs:annotation>
                    <xs:documentation xml:lang="en-gb">
                      The representation of a GUID
                    </xs:documentation>
                  </xs:annotation>
                  <xs:restriction base="xs:string">
                    <xs:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MonitoringObjectPath" msprop:nullValue="_null" type="xs:string" minOccurs="0" />
              <xs:element name="Result" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="added" />
                    <xs:enumeration value="updated" />
                    <xs:enumeration value="alreadyinmm" />
                    <xs:enumeration value="error" />
                    <xs:enumeration value="errorrms" />
                    <xs:enumeration value="removed" />
                    <xs:enumeration value="notinmm" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>